package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.pojo.Address;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 李希
 * @date 2019/11/18
 * Time: 21:24
 */
public interface AddressMapper {

    Page<Address> queryByCondition(String queryString);

    void add(Address address);

    void delete(Integer id);

    List<String> findAddress();

    List<Address> findAll();
}